class UploadFile < ActiveRecord::Base
  has_attached_file :attachment,
    :url => "/attachments/:basename.:extension",
    :path => ":rails_root/public/attachments/:basename.:extension",
    :styles => { :medium => "300x300>", :thumb => "100x100>" }

end
